title: An item with the same key has already been added Ionic.Zip
body: <p>Good afternoon, please tell me how can I add files with the same name to the archive? To be like copying, the file becomes file(1).* and there are two files file and file(1) . I am using Ionic.Zip</p>
  <pre><code>string BackupDir = @&quot;C:\Users\Desktop\dir\backup.zip&quot;;
  string PathToFolder = @&quot;C:\Users\Desktop\dir&quot;;
  string[] AllFiles = Directory.GetFiles(PathToFolder, &quot;*.*&quot;, SearchOption.AllDirectories);
  using (ZipFile zip = new ZipFile(BackupDir, Encoding.UTF8))
  {
  
      foreach (string file in AllFiles)
      {
          try
          {
              DateTime FileCreationTime = File.GetCreationTime(file);
              if (FileCreationTime &gt;= DateTime.Now - new TimeSpan(60, 0, 0, 0))
              {
                  Console.WriteLine(file);
                  zip.CompressionLevel = Ionic.Zlib.CompressionLevel.BestSpeed;
                  zip.AddFile(file, &quot;&quot;);
              }
  
          }    
  
          catch (Exception ex)
          {
              Console.WriteLine(ex);
          }
          zip.Save(BackupDir);    
      }
  }
  </code></pre>