Is there a difference between
NSURL *referenceURL, *destinationURL ;
[[[NSFileManager alloc] init] copyItemAtURL:referenceURL
toURL:destinationURL
error:NULL] ;
and
NSURL *referenceURL, *destinationURL ;
NSFileWrapperWritingOptions options ;
NSFileWrapper * fileWrapper = [[NSFileWrapper alloc] initWithURL:referenceURL
options:0
error:NULL] ;
[fileWrapper writeToURL:destinationURL
options:options
originalContentsURL:nil
error:NULL] ;
(especially, depending on the values of options; what would be the best choice for options here?)?
I ask this question in order to understand better NSFileWrapper. I see that I have the choice in my code to use one or the other. I guess the answer might involve considerations about "hard links".
PS: I would like to use any of these methods in background.