Alarm.com Interview Question

Implement memmove without using a temporary array