memcpy is the answer