Pregunta de entrevista de Yahoo

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