title: C# Move Files From A Folder To Another (How to code: if doesn't exist do nothing)
body: <p><em>Beginner: Here is my code:</em></p>
  
  <pre><code>using System;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.IO;   
  
  public void MoveFiles(string sourcePath, string destinationPath)
      {
          string[] files = Directory.GetFiles(sourcePath);
          Parallel.ForEach(files, file =&gt;
          {
                  if ("HOW TO CODE: If the sourceFiles exist in destFolder")
                  {
                      File.Move(file, Path.Combine(destinationPath, Path.GetFileName(file)));
                  }
          });
      }
  </code></pre>
  
  <p><em>I get an error if the source files exist in destination folder. How can I correct that and is there a better way to do that?</em></p>