---
title: "copy(with:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avplayeritem/copy(with:)"
---

# copy(with:)

Creates a copy of the object with the specified zone.

## Declaration

```swift
nonisolated func copy(with zone: NSZone? = nil) -> Any
```

## Parameters

- `zone`: The system ignores this parameter.

## Return Value

Return Value A copy of the original asset instance.

## See Also

### Copying an player item

- [copy()](avfoundation/avplayeritem/copy().md)
