Creates a copy of the CComSafeArray object.
HRESULT CopyTo(
   LPSAFEARRAY * ppArray 
);
Parameters
- ppArray
A pointer to a location in which to create the new SAFEARRAY. 
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Remarks
This method copies the contents of a CComSafeArray object into a SAFEARRAY structure.
Requirements
Header: atlsafe.h