debug in memcpy