copy the pdf to publish