Rafael interview question

implementing memcpy