Revert "memcopy optimize"

This reverts commit 24a68f928f36a7a7c98f7cfad66cfba62d2f37a2.