The short answer to your question in code is:
$merged = call_user_func_array('array_merge', $unique_answer_title);
This is turning the one array you have into multiple parameters to array_merge() which accepts any number of parameters.
It had been previously (Sep 2010) outlined in:
If you then complain about double values, this has been handled already as well:
- PHP merge array(s) and delete double values