Writes the bytes in the receiver to the location specified by aURL.
Original signature is '- (BOOL)writeToURL:(NSURL *)aURL atomically:(BOOL)atomically'
Available in Mac OS X v10.0 and later.


- aURL (NSURL)
- The location to which to write the receiver's bytes. Only file:// URLs are supported.
- atomically (Boolean)
- If YES, the data is written to a backup location, and then—assuming no errors occur—the backup location is renamed to the name specified by aURL; otherwise, the data is written directly to aURL. atomically is ignored if aURL is not of a type the supports atomic writes.

YES if the operation succeeds, otherwise NO.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)