title: How to copy directory listed in checkedListBox to another directory?
body: <p>I'm trying to make application which will backup folders before system reinstallation.</p>
  
  <p>What I've got now, you can see above. After click on Button2 i've got "Could not find directory 'C:\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug.Desktop'."</p>
  
  <p>It seems that I can't get properly full path to directory.</p>
  
  <pre><code>    public void button1_Click(object sender, EventArgs e)
      {
  
          string path = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
          System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(patg);
          System.IO.FileSystemInfo[] files = di.GetDirectories();
          checkedListBox1.Items.AddRange(files);
      }
  
  
      private void button2_Click(object sender, EventArgs e)
      {
              foreach (object itemChecked in checkedListBox1.CheckedItems)
              {
                  string P = Path.GetFullPath(itemChecked.ToString());
                  DirectoryInfo di = new DirectoryInfo(P);
                  FileSystem.CopyDirectory(P, @"P:\");
              }
      }
  </code></pre>
  
  <p>I expect that user can check boxes from list and then click on Copy(button2) which will copy folder to another location. I would really appreciate your help!</p>