Adobe interview question

Implement memcpy in C