add support for column selection in COPY TO