title: What's difference between those two std::vector's assign methods?
body: <p>There are two ways (that I know) of assigning one vector to another:</p>
  
  <pre><code>std::vector&lt;std:string&gt; vectorOne, vectorTwo;
  // fill vectorOne with strings
  
  // First assign method
  vectorTwo = vectorOne;
  
  // Second assign method
  vectorTwo.assign( vectorOne.begin(), vectorOne.end() );
  </code></pre>
  
  <p>Is there really difference within those methods or they are equal in terms of efficiency and safety when performed on very big vectors?</p>