---
title: "mutableCopy(with:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcaptionregion/mutablecopy(with:)"
---

# mutableCopy(with:)

Creates a mutable copy of a caption region.

## Declaration

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

## Parameters

- `zone`: The system ignores this parameter. Objective-C doesn’t no longer supports memory zones.

## Return Value

Return Value A copy of the region.

## Discussion

Discussion This method throws an exception if the caption region contains an identifier.

## See Also

### Processing regions

- [encode(with:)](avfoundation/avcaptionregion/encode(with:).md)
- [isEqual(_:)](avfoundation/avcaptionregion/isequal(_:).md)
