# Copy Folder

> Windows | Cross-platform

## Project compatibility

Windows | Cross-platform

## Overview

| Description | API Method | API Path |
| --- | --- | --- |
| This operation creates a duplicate of an existing folder, including its structure and contained items (subject to Box API rules). The copied folder can be placed in a new parent folder and assigned a new name. | POST | /folders/{folder_id}/copy |

## Input

| Parameter | Description | Data Type |
| --- | --- | --- |
| Folder | The folder to be copied. | data list |
| New folder location | The parent folder where the copied folder will be created. | data list |
| New folder name | The name of the new copied folder. | string |

## Output

| Parameter | Description | Data Type |
| --- | --- | --- |
| ID | The ID of the newly created copied folder. | string |
| Path collection entries ID | The IDs of the folders in the path hierarchy where the copied folder resides. | string |
| Created by ID | The ID of the user who originally created the copied folder. | string |
| Item collection entries file version ID | Version ID information for items within the folder (if applicable). | string |
| Item collection entries ID | The IDs of items contained within the new copied folder. | string |
| Parent ID | The ID of the parent folder that contains the copied folder. | string |
| Owned by ID | The ID of the user who owns the copied folder. | string |
| Modified by ID | The ID of the user who last modified the copied folder. | string |
| Copy Folder | The complete response object containing metadata for the copied folder. | object |

:::note
* In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
* In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
:::
