@Override
    public ClickHouseRecord copy() {
        if (this == EMPTY) {
            return EMPTY;
        }

        int len = values.length;
        ClickHouseValue[] vals = new ClickHouseValue[len];
        for (int i = 0; i < len; i++) {
            vals[i] = values[i].copy();
        }
        return new ClickHouseSimpleRecord(columnsIndex, vals);
    }
Creates a record object to wrap given values.

@param columnsIndex index of columns ord numbers
@param values  non-null array of values
@return record
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseSimpleRecord.java