diff --git a/Elwig/Documents/Document.cs b/Elwig/Documents/Document.cs index 12359bb..40aad77 100644 --- a/Elwig/Documents/Document.cs +++ b/Elwig/Documents/Document.cs @@ -133,7 +133,7 @@ namespace Elwig.Documents { public void SaveTo(string pdfPath) { if (PdfPath == null) throw new InvalidOperationException("Pdf file has not been generated yet"); - File.Copy(PdfPath, pdfPath); + File.Copy(PdfPath, pdfPath, true); } public async Task Print(int copies = 1) {