title: strcpy using pointers
body: <p>I'm trying to write strcpy on my own using pointers and I get an error during runtime.</p>
  
  <pre><code>void str_cpy(char **destination, const char *source) {
  //    char *s1 = *destination;
  
     while (*source != '\0') {
        **destination++ = *source++; //Get an error here
     }
     **destination = '\0';
  }
  </code></pre>
  
  <p>I call the function as follows:</p>
  
  <pre><code>char *str = NULL;
  str_cpy(&amp;str, "String");
  </code></pre>
  
  <p>Is it not OK?</p>
  
  <p>Thanks!</p>