changing COPY command to \copy according to prompt from psql