Better error handling, COPY flag