title: How to assign string to bytes array
body: <p>I want to assign string to bytes array:</p>
  
  <pre><code>var arr [20]byte
  str := "abc"
  for k, v := range []byte(str) {
    arr[k] = byte(v)
  }
  </code></pre>
  
  <p>Have another method?</p>