public Object[] getArrayRows (boolean includeCommentLine) {
        // filter header and comment rows
        ArrayList<CSVRow> myrows = new ArrayList<CSVRow>();
        for (CSVRow row : rows) {
            // should we return the comment line
            if (row.isCommentLine()) {
                if (includeCommentLine) {
                    myrows.add(row);
                }
            }
            // we do not add the header line
            else if (!row.isHeader()) {
                myrows.add(row);
            }
        }
        return myrows.toArray();
    }