fix memcpy => memmove