docs: public static <E> List<E> copyOf(E[] elements) {
      Preconditions.checkNotNull(elements, "elements");
      List<E> result = new ArrayList<>(elements.length);
      Collections.addAll(result, elements);
      return Collections.unmodifiableList(result);
    }