Lets say you are having a user provide information.
Array 1
But not all is required. So you have defaults.
Array 2
You can just do something like
foreach($array1 as $key=>$value) $array2[$key]=$value;