WD Interview Question

How do you implement memcpy function in C++?