result[i] = new byte[oldRow[i].length]; System.arraycopy(oldRow[i], 0, result[i], 0, oldRow[i].length);
if (oldRow[i] == null) { result[i] = null; } else { result[i] = new byte[oldRow[i].length]; System.arraycopy(oldRow[i], 0, result[i], 0, oldRow[i].length); }
    public byte[][] getNewRow() {        byte[][] result = new byte[oldRow.length][];        for (int i = 0; i < result.length; i++) {            if (updatedFlags[i]) {                result[i] = new byte[newRow[i].length];                System.arraycopy(newRow[i], 0, result[i], 0, newRow[i].length);            } else {                result[i] = new byte[oldRow[i].length];                System.arraycopy(oldRow[i], 0, result[i], 0, oldRow[i].length);            }        }                return result;    }