#44 implement memcpy