It's _storing_ all the names, but you are only accessing the 0th one. From `man bash`:
Referencing an array variable without a subscript is equivalent to ref‐
erencing the array with a subscript of 0.
To reference _all_ elements of the array, as separate words, use `"${ccs_bams[@]}"` ex.
printf '%s\
' "${ccs_bams[@]}"