SyntaxFix
Write A Post
Hire A Developer
Questions
You can use STL copy with O(M) performance when M is the size of the subvector.