title: How to resolve error with fileentry.copyTo(), Cordova 1.6.1
body: <p>I'm trying to execute the copyTo method on a FileEntry and it's failing with an error code of 1. I suspect I'm not giving it what it needs. Here is the input I'm providing to the method, which one of these values is incorrect? Running on android but also getting the error on iOS. I'm attempting to follow the instructions from the API docs, but the expected input is not clear.</p>
  
  <pre><code>var imageUri = 'file:///mnt/sdcard/Android/data/com.test.app/cache/resize.jpg?1337214925787';
  var newFileName = 'test.jpg';
  var directoryFullPath = 'file:///mnt/sdcard/App/Job';
  
  window.resolveLocalFileSystemURI(
     imageUri,
     function (entry) {
      console.log("Get file entry success, copy file");
      var parentEntry = new DirectoryEntry({ fullPath: directoryFullPath});
      entry.copyTo(
          parentEntry,
          newFileName,
          function (newEntry) {
              console.log("FileEntry copy to done. New Path: " + newEntry.fullPath);
           },
           function (error) {
               console.log("FileEntry copy to fail. Error code: " + error.code);
           }
  ...
  </code></pre>