24.4.1 Initialization Algorithms - copy
- copy from one collection into another
- 1st two arguments delimit range to be copied
- 3rd argument starts the destination range
- Sufficient space is assumed
vector<int> b(20);
copy(a.begin(), a.end(), b.begin());
//
Will initialize first 10 positions of b
prev
|top
|next