title: Can i copy directory using Phonegap/cordova framework?
body: <p>i want copy one directory from one location to another location.
  i research on that i found <strong>copyTo</strong> Api. In that document i found  quick example from doc as below</p>
  
  <pre><code>function win(entry) {
      console.log("New Path: " + entry.fullPath);
  }
  
  function fail(error) {
      alert(error.code);
  }
  
  function copyDir(entry) {
      var parent = document.getElementById('parent').value,
          newName = document.getElementById('newName').value,
          parentEntry = new DirectoryEntry({fullPath: parent});
  
      // copy the directory to a new directory and rename it
      entry.copyTo(parentEntry, newName, success, fail);
  }
  </code></pre>
  
  <p>Now how i am confuse where is source path variable and what is destination path variable?
  can any one provide me one good example for this </p>