Copies a file from the desktop to the device allowing a different name for the target file.
Syntax: CopyFileToDevice2 (DesktopFile As String, DeviceFile As String)
Example:
'Add a RAPIDesktop object named rapi.
Sub App_Start
Form1.Show
rapi.New1
rapi.Connect
End Sub
Sub rapi_Connected
rapi.CopyFileToDevice2(AppPath & "\1.txt","\My
Documents\NewFile.txt")
End Sub