Microsoft Interview Question

Implement memcopy functionality