You are here

copyItemAtPath

- (BOOL)copyItemAtPath:(NSString *)sourcePath toPath:(NSString *)destinationPath error:(NSError **)error - copy file from source path to destination path.

Parameters

(NSString *)sourcePath
String specifying the source path.
(NSString *)destinationPath
String specifying the destination path.
(NSError **)error
Error object

Returns

(BOOL) - true if the file was copied successfully.

Example