diff --git a/NDecrypt.Core/DSTool.cs b/NDecrypt.Core/DSTool.cs index 3896106..bfefcf3 100644 --- a/NDecrypt.Core/DSTool.cs +++ b/NDecrypt.Core/DSTool.cs @@ -27,7 +27,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input; @@ -79,7 +79,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input; diff --git a/NDecrypt.Core/ThreeDSTool.cs b/NDecrypt.Core/ThreeDSTool.cs index 4abf317..f4aa503 100644 --- a/NDecrypt.Core/ThreeDSTool.cs +++ b/NDecrypt.Core/ThreeDSTool.cs @@ -48,7 +48,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input; @@ -467,7 +467,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input;