docs: public static <T> T[] add(final T[] oldElements, final T elementToAdd)
      {
          final int length = oldElements.length;
          final T[] newElements = Arrays.copyOf(oldElements, length + 1);
          newElements[length] = elementToAdd;
  
          return newElements;
      }