Copies the source array to the target array after releasing any resources in the target array. This is similar to SafeArrayCopy, except that the target array has to be set up by the caller. The target is not allocated or reallocated.
The source safe array to copy.
On exit, the array referred to by psaTarget contains a copy of the data in psaSource.
The return value obtained from the returned HRESULT is one of the following.
The dimensions or the number of dimensions don't match.
Insufficient memory to create the copy.