This method overwrites the elements of the given array with the elements of another array of the same type. Copy does not free memory; but, if necessary, Copy may allocate extra memory to accommodate the elements copied to the array.
| Header file: | Afxcoll.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
int Copy( const CArray& src );