The Copy refactoring lets you create a copy of a class, file or directory in a different or the same directory.
Performing Copy refactoring
To perform the Copy refactoring
- Select the item of interest in a tool window (e.g. the Project tool window). Alternatively, open the necessary class or file in the editor.
- Do one of the following:
- In the Copy dialog that opens, specify the name and location for the copy that you are creating, and click OK.
Last modified: 20 July 2016