title: Copy class + package-context between projects in Eclipse
body: <p>For a number of uninteresting reasons: we need to copy many classes from one project to another (while preserving the package-structure of said classes).</p>
  
  <p>In other words, given:</p>
  
  <pre><code>origin/src/com/foo/bar/A
  origin/src/com/baz/qux/B
  
  dest/ &lt;empty&gt;
  </code></pre>
  
  <p>We want to copy A and B such that we end up with:</p>
  
  <pre><code>dest/src/com/foo/bar/A
  dest/src/com/baz/qux/B
  </code></pre>
  
  <p>Presently, we are forced to manually create the packages in <code>dest</code> and then <code>Ctrl+C/Ctrl+V</code> the individual .java files between projects.  What we would like to do is to have Eclipse automatically copy the files over while automatically creating the packages (hence, preserving the package structure).</p>