copy<T> static method

void copy<T>(
  1. List<T> sourceArray,
  2. int sourceIndex,
  3. List<T> destinationArray,
  4. int destinationIndex,
  5. int length,
)

Implementation

static void copy<T>(
      List<T> sourceArray,
      int sourceIndex,
      List<T> destinationArray,
      int destinationIndex,
      int length){
    List.copyRange(destinationArray,destinationIndex,sourceArray,sourceIndex,sourceIndex+length);
  }