Question:You want to copy an existing file, File1.txt, to File2.txt. Which code samples do this correctly? (Choose two. Each answer forms a complete solution.) - VB.NET
A Dim fi as new File()
fi.Copy("file1.txt", "file2.txt")B File.Copy("file1.txt", "file2.txt")
C Dim fi As New FileInfo("file1.txt")
fi.CreateText()
fi.CopyTo("file2.txt")
D Dim fi As New FileInfo("file1.txt")
fi.CopyTo("file2.txt")
+ AnswerB D
+ Report