---
title: "Overview"
canonical: "https://support.appfire.com/space/CPT/1805189327/Overview"
format: markdown
---
> Macro (aura-html)

## Introduction to Copy Page Tree

Use the Copy Page Tree app to add a page action to copy the current page and a complete page hierarchy. The app supports adjustments of page names to avoid problems with page name duplication. Use text search/replace to customize content on the destination pages. Copy attachments, labels, properties, and permissions. Copies can also be saved in other spaces. 

- Copy an entire page tree, parent and child pages, including (optionally) attachments, labels, properties, and permissions.
- Search/Replace one or more pairs of strings to customize page content.
- Supports page name adjustments to avoid issues with page name duplication.
- Review the page tree copy.
- Save form values for more efficient copies of the same page tree.
- Get real-time feedback about the progress of the copy with the progress bar.
- Quick links to source and destination pages upon copy completion.
- Delete an entire page tree

### Use cases

- Create documentation templates for releases.
- Create new spaces and repeat information that needs to be used again with a simple word change using the find/replace.
- Update multiple pages by copying a tree and using the find/replace to update pages. Then, use the deleted tree to remove the old pages.
- Delete page tree to clean up spaces when there are significant changes.
- Count the number of pages in a space.

## Permissions

If you have revoked permissions for the **confluence-users** group in **Space settings** > **Permissions**, you must add permissions for the Copy Page Tree app user.

An *app user* is a user who exists in Confluence to represent an app when it performs actions. If you click the **Edit Permissions** button and use the **Add** button to add an individual user, you can see that the user picker recognizes your installed apps as users, like Copy Page Tree.

### Copying permissions

When copying a tree with the *Copy Permissions* option checked, the operation will copy the permissions set for the pages.

> 📝 For a successful copy operation, the source and destination spaces and pages must have *Edit* permissions. If either space or page has *View* permissions but not *Edit* permissions, the operation will generate an error.

## Limitation

[server] The number of pages that can be copied is unlimited, but the titles for branches in the tree with 2000 or fewer pages can only be customized individually.

[cloud] The number of pages copied in a page tree is currently limited to 2000.