Fixes qz.setCopies() functionality

For fixes qz.setCopies(int) functionality for qz.appendImage() and
qz.appendPDF().