Attempts to copy len bytes from the offset position spos in source file sc to the offset position dpos in destination file dc.
Syntax
int _FCopy(FCHAN dc, long dpos, FCHAN sc, long spos, long len)
FCHAN dc; /* File channel of destination file. */
long dpos; /* Offset position to start copying to. */
FCHAN sc; /* File channel of source file. */
long spos; /* Offset position to start copying from. */
long len; /* Number of bytes to copy. */
Remarks
_FCopy( ) returns True (an integer other than 0) if it succeeds, or False (0) if it fails.
For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.