You can execute the command under ticks and set the Array like,
ARRAY=(`command`)
Alternatively, you can save the output of the command to a file and cat it similarly,
command > file.txt
ARRAY=(`cat file.txt`)
Or, simply one of the following forms suggested in the comments below,
ARRAY=(`< file.txt`)
ARRAY=($(<file.txt))