If I am not correct, the codes following are used to copy an array of bytes to a position of memory in C#:
byte[] byteName = Encoding.ASCII.GetBytes("Hello There");
int positionMemory = getPosition();
Marshal.Copy(byteName, 0, new IntPtr(positionMemory), byteName.length);
我如何在本土C++中做到这一点?