improve memcopy/memmove