Copy background cells

How, when allocating and copy the data from the cells, also copy the background color of cells?

It can’t be done if you do not use a renderer by value which colors the cell by it’s content.