Fixed memcpy3d error