# Copy dialog

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

> **TL;DR**
> `Refactor | Copy`
>
>
>
> `F5` (Windows), `F5` (macOS), `F5` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ Y` (macOS System Shortcuts), `F5` (XWin), `F5` (GNOME), `F5` (KDE), `F5` (Emacs), `F5` (Sublime Text), `F5` (Sublime Text (macOS)), `F5` (VSCode), `F5` (VSCode (macOS))

Use this dialog to specify the settings for the   Copy refactoring.

| Item | Description |
| --- | --- |
| New name | Specify the name of the  file or directory to be created. |
| To directory |  Specify the directory where to create a copy.    Select the destination directory from the list, or click ![the Browse button](https://resources.jetbrains.com/help/img/idea/2026.3/app.general.ellipsis.svg) `Shift+Enter` (Windows), `⇧ ⏎` (macOS), `⇧ ⏎` (IntelliJ IDEA Classic (macOS)), `⇧ ⏎` (macOS System Shortcuts), `Shift+Enter` (XWin), `Shift+Enter` (GNOME), `Shift+Enter` (KDE), `Shift+Enter` (Emacs), `Ctrl+Enter` (Sublime Text), `⌘ ⏎` (Sublime Text (macOS)), `Ctrl+Enter` (VSCode), `⌘ ⏎` (VSCode (macOS)) and select the directory in the Select target directory dialog that opens. (If necessary, you can create a new directory.)    |
| Open in editor | Select this checkbox to automatically open a file, directory or package after it is copied. If you clear this checkbox, then the file, directory or package that you have copied will not be opened. |

## See also

### External Links

[https://blog.jetbrains.com/go/2018/11/30/refactorings-in-goland-move-refactoring/](https://blog.jetbrains.com/go/2018/11/30/refactorings-in-goland-move-refactoring/)

