Replace memcpy with memmove to Solve Memory Overlap Error Replacing memcpy with memmove so there is no memcpy-param-overlap error. Bug: 62887820 Test: vendor testing Change-Id: I8292659f4f490ce1eed16356a7caf16df6324283 (cherry picked from commit 0a2112249af3c8de52f4da9e89d740b20246d050)