original_string: public function copyTo(array &$arr, $index = 0) {
  		
  		if(!$this->offsetExists($index)){
  			throw new \OutOfRangeException('$index is invalid');
  		}
  		
  		$arr = \array_slice($this->_Arr, $index);
  		
  		return $this;
  		
  	}
code: public function copyTo(array &$arr, $index = 0) {
  		
  		if(!$this->offsetExists($index)){
  			throw new \OutOfRangeException('$index is invalid');
  		}
  		
  		$arr = \array_slice($this->_Arr, $index);
  		
  		return $this;
  		
  	}
code_tokens: public function copyTo ( array & $ arr , $ index = 0 ) { if ( ! $ this -> offsetExists ( $ index ) ) { throw new \ OutOfRangeException ( '$index is invalid' ) ; } $ arr = \ array_slice ( $ this -> _Arr , $ index ) ; return $ this ; }
docstring: Copies this list to a given array by reference
  @param array $arr destination
  @param int $index Where to start copying, the start by default
  @return \Cola\ArrayList
docstring_tokens: Copies this list to a given array by reference