title: Add element into Array
body: <p>I´m trying to dynamically add an element into an array:</p>
  
  <pre><code>   array=("element1" "element2" "element3")
     fa=()
     # now loop through the above array
     for i in "${array[@]}"
     do
        fa+=("$i")
        # or do whatever with individual element of the array
     done
  
     echo $fa
  </code></pre>
  
  <p>But it's returning <code>element1</code>.</p>
  
  <p>I've tried with an index, but I'm getting the same result:</p>
  
  <pre><code>fa[index]="$i"
  ((index++))
  </code></pre>
  
  <p>Am I doing something wrong here?</p>