code: public static <E> ImmutableList<E> copyOf(E[] elements) {
      switch (elements.length) {
        case 0:
          return of();
        case 1:
          return of(elements[0]);
        default:
          return construct(elements.clone());
      }
    }
docs: Returns an immutable list containing the given elements, in order.
  
  @throws NullPointerException if any of {@code elements} is null
  @since 3.0