Pergunta de entrevista da empresa Tesla

Coding the memcpy function with overlap detection