code: public static void copy(final Object src, final int srcPos, final Object dest, final int destPos, final int length) {
          if (Array.getLength(src) < srcPos + length) {
              throw new IllegalArgumentException("The size of src array less than " + (srcPos + length));
          }
  
          if (Array.getLength(dest) < destPos + length) {
              throw new IllegalArgumentException("The size of dest array less than " + (destPos + length));
          }
  
          System.arraycopy(src, srcPos, dest, destPos, length);
      }
docs: @see System#arraycopy(Object, int, Object, int, int) is called
  
  @param src
  @param srcPos
  @param dest
  @param destPos
  @param length