public static function convertArrayToArrayCopyable(array &$array = null, $className)
    {
        if (is_null($array))
        {
            return null;
        }

        if (is_null($className) || !is_string($className))
        {
            return null;
        }

        $object = new $className();
        $object->copyFromArray($array);

        return $object;
    }