<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMutableMovie/addMutableTracksCopyingSettings(from:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMutableMovie(im)addMutableTracksCopyingSettingsFromTracks:options:"
  },
  "title" : "addMutableTracksCopyingSettings(from:options:)"
}
-->

# addMutableTracksCopyingSettings(from:options:)

Adds one or more empty tracks to the target movie and copies the track settings from the source tracks.

```
func addMutableTracksCopyingSettings(from existingTracks: [AVAssetTrack], options: [String : Any]? = nil) -> [AVMutableMovieTrack]
```

## Parameters

`existingTracks`

An array of asset tracks to be added.

`options`

A dictionary that contains key for specifying the movie object initialization. Currently, no keys are defined.

## Return Value

An array of [`AVMutableMovieTrack`](/documentation/AVFoundation/AVMutableMovieTrack) objects. The index of a track in this array is the same as the index of its source track in the `existingTracks` array.

## Discussion

Properties involving pairs of tracks,such as track references, are copied from the source tracks to the target tracks.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)