# Copy dialog

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

> **TL;DR**
> `Refactor | Copy`
>
>
>
> [Copy… shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "CopyElement")

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) [Start New Line shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "EditorStartNewLine") 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/)

