Use memmove for overlapping memory blocks in preprocessing.

It is unsafe to call memcpy with potentially overlapping memory area.
Use memmove is a more safer way.

Bug: 158075562
Change-Id: Ie7355d6fc27719106885b2e825a540c8b03646cf
Test: make
1 file changed