Update ArrayHelper.php

-arg $from of move funnction should also be passed by reference.

-change the main logic of move function
from this implementation: 
   $to[$key] = static::removeValue($from, $key);                    
to the below:
   $to[$key] = static::getValue($from, $key);                    
   $moved[$key] = static::removeValue($from, $key);
=======================================================
public static function move($names, &$from, &$to)
    {
        if (is_array($from) && is_array($to)) {
            foreach ($names as $key) {
                if (isset($from[$key]) && !isset($to[$key])) {
                    // add the item to $to array
                    $to[$key] = static::getValue($from, $key); 
                    // remove the item from $from array & add it to $moved array
                    $moved[$key] = static::removeValue($from, $key);
                }
            }
        }
        //return the moved items
        return $moved; 
    }