code: public static <T> T[] shallowCopy(final T[] array)
      {
          if (array == null)
          {
              return null;
          }
          return array.clone();
      }
docs: <p>Shallow copies an array of Objects
  </p>
  <p>The objects in the array are not cloned, thus there is no special
  handling for multi-dimensional arrays.
  </p>
  <p>This method returns <code>null</code> if <code>null</code> array input.</p>
  
  @param array the array to shallow clone, may be <code>null</code>
  @param <T> the array type
  @return the cloned array, <code>null</code> if <code>null</code> input