[] to array