<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCompositingOperation/copy",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSCompositingOperation@NSCompositingOperationCopy"
  },
  "title" : "NSCompositingOperation.copy"
}
-->

# NSCompositingOperation.copy

The source image.

```
case copy
```

## Discussion

The source image replaces the pixels of the destination with the formula `R = S`.

---

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)