Copy a file

Namespace: Contracts.IO
Assembly: Contracts (in Contracts.dll)

Public Shared Sub Copy( _ 
ByVal source As String, _ 
ByVal target As String
)
This language is not supported or no code example is available.
public static void Copy( 
string source
string target 
)
This language is not supported or no code example is available.
public:  
static void Copy( 
String^ source
String^ target 
)
This language is not supported or no code example is available.
public static function Copy( 
source : String
target : String 
);
This language is not supported or no code example is available.

Parameters

source
Type: string

<default>

target
Type: string

<default>

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1