The method CopyToClipboard copies the content of all cells in the rectangular range of [LeftCol, TopRow] to [RightCol, BottomRow] to the clipboard. The parameter AddHeader determines whether the column headers are added or not. The parameter Separator controls the separating characters which are inserted between the elements of a row.