$page->copy()
Copies the page to a new parent
$page->copy(array $options = [ ]): Kirby\Cms\Page
Parameters
| Name | Type | Default |
|---|---|---|
| $options | array |
[ ] |
Return type
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\DuplicateException |
If the page already exists |