public void copyCellsTo(CellSet cells, TextGrid grid) { for (Cell cell : cells) { grid.set(cell, this.get(cell)); } }