Pergunta de entrevista da empresa Microsoft

Copy a range of values in an array to another index in the array