static Object[] makeArgs(final Object stream, final Object[] other) {
      if (other == null || other.length == 0) {
        return new Object[]{stream};
      }
      Object[] args = new Object[other.length + 1];
      args[0] = stream;
      System.arraycopy(other, 0, args, 1, other.length);
      return args;
    }
Make an array of arguments.
@param stream the 1st argument
@param other the other arguments
@return all arguments
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/SerializationProxy.java