To reuse a feature that is already developed in .NET Framework, use the “Add Reference…” command from PROJECT menu and add a reference to Microsoft.VisualBasic assembly. Then try a code like this:
using namespace Microsoft::VisualBasic::FileIO;
FileSystem::CopyDirectory( source_folder, destination_folder, UIOption::AllDialogs );
Prepare the corresponding source_folder and destination_folder strings.