Creates a new character set with the values from a given character set.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator to use to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
The character set to copy.
A new character set that is a copy of
the. Ownership follows the The Create Rule.
This function tries to compact the backing store where applicable.