code: function( array, from, to ) {
  
  		if ( THREE.AnimationUtils.isTypedArray( array ) ) {
  
  			return new array.constructor( array.subarray( from, to ) );
  
  		}
  
  		return array.slice( from, to );
  
  	}
docs: same as Array.prototype.slice, but also works on typed arrays