title: Problem with copying directory with .plugin package using node.js on Mac OSX
body: <p>I'm creating an app - extension for Adobe software. This app is running in node.js environment. I want to copy and paste .plugin package (which is built using xcode) from extension directory to the software directory.</p>
  
  <p>Using native Mac OS terminal I can easily copy and paste the plugin to the software directory (sudo cp -R). I wanted to replicate this using npm package "sudo-prompt" but it throws an error. I tried rsync also, it did not solve it.</p>
  
  <p>My command:</p>
  
  <pre><code>cp -R "pathToMyPlugin" "/Library/Application Support/pathWhereIwantToPasteThePlugin"
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>unable to copy extended attributes to pathWhereIwantToPasteThePlugin: Operation not permitted
  cp: pathWhereIwantToPasteThePlugin: Operation not permitted
  </code></pre>