title: Copyfile in matlab from one directory to another
body: <p>I have a short question regarding the <code>copyfile</code> function within MATLAB. Basically I want to copy a file from a different user selected directory/file to the current directory (where the function is run from). I am struggling with how to do this. </p>
  
  <p>So far I have:</p>
  
  <pre><code>[jxlfilename,jxlfilepath] = uigetfile({'*.jxl'}, 'Pick a File');
  copyfile(????)
  </code></pre>
  
  <p>I have read the help that MATLAB offers, but I just can't seem to figure it out. </p>