code: @Nonnull
    @ReturnsMutableCopy
    public static <ELEMENTTYPE> ELEMENTTYPE [] newArraySameType (@Nonnull final ELEMENTTYPE [] aArray,
                                                                 @Nonnegative final int nSize)
    {
      return newArray (getComponentType (aArray), nSize);
    }
docs: Create a new empty array with the same type as the passed array.
  
  @param <ELEMENTTYPE>
  Type of element
  @param aArray
  Source array. May not be <code>null</code>.
  @param nSize
  Destination size. Must be &ge; 0.
  @return Never <code>null</code>.