File.Copy : File « System.IO « VB.Net by API






File.Copy

  
 

Imports System.Windows.Forms

public class FileOpenDialogFilter
   public Shared Sub Main
      System.IO.File.Copy("c:\\test.txt", "c:\\test1.txt", True)

   End Sub
End class

   
    
  








Related examples in the same category

1.File.AppendText
2.File.CreateText
3.File.Delete
4.File.Exists
5.File.GetCreationTime
6.File.GetLastAccessTime
7.File.GetLastWriteTime
8.File.Move
9.File.OpenRead