Question: how to do memcpy in c++?
Answer: void* memcpy( void* dest, const void* src,size_t count ); The memcpy() function takes three arguments: dest, src and count. This function when called, copies count bytes from the memory location pointed to by src to the memory location pointed to by dest.