Microsoft Interview Question

Implement the memcpy function