public void addRows(List<String[]> r) {
        for (String[] s : r) {
            String[] ns = new String[s.length];
            for (int i = 0; i < ns.length; i++) {
                ns[i] = new String(s[i]);
            }
            rows.add(ns);
        }
    }