Microsoft interview question

How to make efficient memcpy?