diff --git a/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java b/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java index 2eb2dec..23235b7 100644 --- a/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java +++ b/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java @@ -125,7 +125,7 @@ public void extract(File destination) throw new BackupReadException(e); } } else { - Files.copy(this.contentFile.toPath(), destination.toPath()); + Files.copy(this.contentFile.toPath(), destination.toPath(), StandardCopyOption.REPLACE_EXISTING); } break; case SYMBOLIC_LINK: