CRM_Utils_Array::value how to set value to a hook_buildForm?
Found  an answer here https://wiki.civicrm.org/confluence/display/CRMDOC/Update+custom+fields+in+contributions+and+events+by+passing+variables+in+a+URL

Nothing to do with  CRM_Utils_Array though; just plain simple passing vars via an URL.