add support for column selection in COPY TO
use sourceLookup for copy to with columns