public static Object[] copyToStandardObject(
      Object[] o, ObjectInspector[] oi, ObjectInspectorCopyOption objectInspectorOption) {
    if (o == null) return null;
    assert(o.length == oi.length);

    Object[] result = new Object[o.length];
    for (int i = 0; i < o.length; i++) {
      result[i] = ObjectInspectorUtils.copyToStandardObject(
          o[i], oi[i], objectInspectorOption);
    }

    return result;
  }
Returns a deep copy of an array of objects
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java