Use std::memcpy.