Pergunta de entrevista da empresa Yahoo

Write a function which copies a subarray in an array to another position without a temporary variable.