title: How to copy a string into a char array with strcpy
body: <p>I my trying to copy a value into a char.</p>
  
  <p>my char array is</p>
  
  <pre><code>char sms_phone_number[15];
  </code></pre>
  
  <p>By the way, could tell me if I should write (what the benefic/difference?)</p>
  
  <pre><code>char * sms_phone_number[15]
  </code></pre>
  
  <p>Below displays a string: "+417611142356"</p>
  
  <pre><code>splitedString[1]
  </code></pre>
  
  <p>And I want to give that value to sms_from_number</p>
  
  <pre><code>// strcpy(sms_from_number,splitedString[1]);   // OP's statement 
  strcpy(sms_phone_number,splitedString[1]);  // edit 
  </code></pre>
  
  <p>I've got an error, I think because splitedString[1] is a String, isn't?</p>
  
  <blockquote>
    <p>sim908_cooking:835: error: invalid conversion from 'char' to 'char*'</p>
  </blockquote>
  
  <p>So how can I copy it correctely.
  I also tried with sprintf without success.</p>
  
  <p>many thank for your help.
  Cheers</p>