Eximius Design Interview Question

Memcpy implementation with all scenarios