title: String assignment difference
body: <p>What is the difference between <code>METHOD 1</code> and <code>METHOD 2</code>?</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  
  using namespace std;
  int main()
  {
      // METHOD 1
      std::string name = "testing";
      std::string nameC = name;
      cout &lt;&lt; "nameC is : " &lt;&lt; nameC &lt;&lt; endl;
  
      // METHOD 2
      char nameC1[8];
      const char* name1 = "testing";
      strlcpy(nameC1,name1,sizeof(nameC1));
      cout &lt;&lt; "nameC1 is  : " &lt;&lt; nameC1 &lt;&lt; endl;
   }
  </code></pre>
  
  <p>Which is more efficient? Faster? When should one follow one over the other?</p>