Qualcomm interview question

Write the memcopy function (copies data from one memory address to another)