<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNS/copy(_:to:filterParameters:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4BNNSO4copy_2to16filterParametersySo21BNNSNDArrayDescriptora_AHSo010BNNSFilterF0aSgtKFZ"
  },
  "title" : "copy(_:to:filterParameters:)"
}
-->

# copy(_:to:filterParameters:)

Copies the contents of an n-dimensional array descriptor to another descriptor of the same shape.

```
static func copy(_ source: BNNSNDArrayDescriptor, to destination: BNNSNDArrayDescriptor, filterParameters: BNNSFilterParameters? = nil) throws
```

## Parameters

`source`

The descriptor of the input.

`destination`

The descriptor of the output.

`filterParameters`

The filter runtime parameters.

## See Also

[`func BNNSCopy(UnsafeMutablePointer<BNNSNDArrayDescriptor>, UnsafePointer<BNNSNDArrayDescriptor>, UnsafePointer<BNNSFilterParameters>?) -> Int32`](/documentation/Accelerate/BNNSCopy(_:_:_:))

Copies the contents of an n-dimensional array descriptor to another of the same shape.



---

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)