# $ordersPage->copy()

> Copies the page to a new parent. Low-level method, ensure to run all necessary checks (e.g. permissions) before calling it.

- Source: `src/Cms/PageActions.php#L424` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/PageActions.php#L424>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$ordersPage->copy(array $options = []): Kirby\Cms\Page
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$options` | `array` | `[]` |

## Return type

`Kirby\Cms\Page`

## Exceptions

| Type | Description |
| --- | --- |
| `DuplicateException` | If the page already exists |

## Parent class

`Wagnerwagner\Merx\OrdersPage` inherited from `Kirby\Cms\Page`
