title: Intellij: How to copy/paste a file in order to duplicate it?
body: <p>I can not seem to find a way to do this? I have a file named X in some folder, I want to create Y with the same contents in the same directory. The way I do in eclipse is to select the file and ^C, ^P, eclipse prompts for the new name. </p>
  
  <p><b>UPDATE</b></p>
  
  <p>Apparently this problem only occurs if compilation unit contains more than one type. </p>