I'm looking at the JDBC documentation at https://jdbc.postgresql.org/documentation/head/index.html and not seeing any mention of COPY and any semantics for using COPY FROM STDIN or COPY TO STDOUT... google has a link to a 404 page with some sort of CopyManager