Added memmove implementation