Creates a new host object by copying.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
The allocator to use to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
The host to copy. This value must not be
A valid CFHost object or
NULL if the copy could not be created. The new host contains a copy of all previously resolved data from the original host. Ownership follows the The Create Rule.
This function is thread safe.