Hi, There are two different things - 1. IOError 2. IOErrorEvent Errors (including IOError) are thrown synchronously and must be caught using the try/catch statements. Infact, copyTo method's documentation clearly states that it thorows IOError, so you should use it inside try / catch statement to catch it. Events (including IOErrorEvent) are thrown asynchronously, for operations which are performed asynchronously. For e.g. copyToAsync method, as documented, may cause generation of complete and ioError events. Where as copyTo method does not cause any events (again already documented).
... View more