We are already "preparing" COPY FROM (in) statements. This "hack" will also work for COPY TO (out). But yes, using Query()/simpleQuery() would be another possible way.