docs: public static String[] copyOfRange(String[] old, int from, int to) {
      int length = to - from;
      String[] newArray = new String[length];
      int minLength = Math.min(old.length - from, length);
      System.arraycopy(old, from, newArray, 0, minLength);
      return newArray;
    }