DeployHQ doesn't have a one-click **Duplicate project** button. To start a new project from the configuration of an existing one, create a template from it and build the new project from that template. If you only need another copy of a server, you can duplicate that server directly.

## Copy a project's configuration with a template

1. Go to the **Templates** tab at the top of the screen and click **New Template**.
2. Enter a name for the template, tick **Copy configuration from an existing project?** and choose the project to copy from.
3. Click **Create Template**. You'll see an overview of every element copied into the template, which you can edit before using it.
4. Click **New Project From Template**, or choose the template from the **Template** dropdown on the new project screen.
5. Add the new project as normal and configure its repository. The template's elements are added automatically, and you can remove any you don't need.

A template can hold servers and groups, config files, excluded files, notifications, SSH commands, cached build files, build commands and known hosts. Your repository connection isn't part of a template, so you'll connect the new project's repository in step 5.

[Global SSH commands](https://www.deployhq.com/support/api/global-ssh-commands), [global build commands](https://www.deployhq.com/support/api/global-build-commands) and [global config files](https://www.deployhq.com/support/global-config-files) aren't copied into a template. Link them to the new project from its own pages.

The template is a separate copy. Editing it later doesn't change projects that were already created from it. See [Using Templates in DeployHQ](https://www.deployhq.com/support/templates) for more.

## Duplicate a server

To make another copy of a server inside a project, click the **Duplicate** button in the project's server list and edit the copy. See [adding a server](https://www.deployhq.com/support/servers/adding-a-server).

If you need the same server in many projects, a [global server](https://www.deployhq.com/support/global-servers) lets you define it once at the account level and add it to any project.

## Moving a project to another account

Copying a project isn't the same as transferring it. To move a project between accounts, see [How do I transfer my DeployHQ project to another account?](https://www.deployhq.com/support/faq/transfer-deployhq-project)
