title: Rename file in directory (Shelljs)
body: <p>How can i rename a file into the same directory?</p>
  
  <p>When i run this i've got the following error:</p>
  
  <p><code>shell.cp('-R', './../../config/test.txt', './../../config/test1.txt');</code></p>
  
  <ul>
  <li>cp: dest is not a directory (too many sources)</li>
  </ul>
  
  <p>I read the docs, but none of that answers my question.</p>
  
  <p>Thanks for any help.</p>