1) why "net::CookieMonster::kDefaultCookieableSchemesCount - 1" ?
2) you could use std::copy()