fixed memmove