title: Copy directory overwriting existing files
body: <p>I have programed my self stuck and need some help</p>
  
  <p>I have programed a way for templates to be coppied over from one directory to another</p>
  
  <pre><code>     'My.Computer.FileSystem.CopyDirectory("C:\MYapp\TEMPLATES\" &amp; ComboBox1.Text, "C:\Myapp\PROJECTS\" &amp; form1.label1.Text &amp; "\Template")
  </code></pre>
  
  <p>however if the files already exists the orriginals are over written. somehow I need to be able to rename the files with in the <code>"C:\MYapp\TEMPLATES\" &amp; ComboBox1.Text</code> during the copying process</p>
  
  <p>is there a way of still doing this?</p>
  
  <p>I'm ussing VB.net</p>
  
  <p>EDDIT:</p>
  
  <pre><code>For Each CONTENTS_FILES In System.IO.Directory.GetFiles("C:\myapp\TEMPLATES\" &amp; ComboBox1.Text)
  
      ' do whatever wtih filename
      System.IO.File.Copy("C:\myapp\TEMPLATES\" &amp; ComboBox1.Text &amp; CONTENTS_FILES, C:\myapp\PROJECTS\" &amp; PROJECTS.PROJECTlabel.Text &amp; "\Template\" &amp; TimeOfDay &amp; CONTENTS_FILES)
  next
  </code></pre>
  
  <p>however I am now lost in my code?</p>