Duplicates a column by inserting a new column at the target position with the same values.
The worksheet containing the columns.
The number of the column to copy from (1-based index).
The number where the new column should be inserted (1-based index).
duplicateColumn(worksheet, 2, 5); Copy
duplicateColumn(worksheet, 2, 5);
Duplicates a column by inserting a new column at the target position with the same values.