title: How to copy files from pod in one namespace to pod in another namespace
body: <p>Does kubectl provide a way to copy files from pod in one namespace to another? I see we can copy files from pod to local machine and then copy them on another pod of different namespace. But can we copy directly from one namespace to another?</p>
  
  <p>I tried:</p>
  
  <p><code>kubectl cp &lt;namespace1&gt;/&lt;pod1&gt;:/tmp/foo.txt &lt;namespace2&gt;/&lt;pod1&gt;:/tmp/foo.txt</code></p>
  
  <p>Looking at <code>kubectl cp</code> command help options I don't think there is any way to do that.</p>