
## CopyFolder {#copyfolder}

Copy a mailfolder and its contents to another mailfolder.

**Returns:** Copied folder

```cpp
CopyFolder(System::String newParentId, System::String itemId)
```

| Parameter | Description |
| --- | --- |
| newParentId | New parent folder id |
| itemId | Item id to be copied |

