# CopyTo Copies all elements of a stack to the specified array starting at the specified index. ``` int CopyTo(    T&         dst_array[],     // an array for writing    const int  dst_start=0      // the starting index for writing    ); ``` Parameters &dst_array[] [out] An array to which the elements of the stack will be written. dst_start=0 [in] An index in the array from which copying starts. Return Value Returns the number of copied elements.