Renamed beforeCopy to beforeCellCopy