Copies an existing document and or folder to the specified destination path.

Syntax

Visual Basic (declaration)
Public Function Copy( _ 
ByVal AuthenticationTicket as String, _ ByVal SourcePath as String, _ ByVal DestinationPath as String) as XmlNode

C# (declaration)
public XmlNode Copy( 
string AuthenticationTicket, string SourcePath, string DestinationPath)

Parameters

AuthenticationTicket
    string inforouter ticket
SourcePath
    string The Source Path of a document or a folder on the server.
DestinationPath
    string The Destination Path of the document or the folder on the server.

Return Value

returns xml fragment.
<response success="true" error="">
if success = "true", the folder or document has been copied.
if success = "false", the error attribute returns the error description.

Remarks

The path refers to a folder or to a document.
The caller must have at least, "Read" permissions on the source and "Add" permissions on the target folder