Added 'ArrayUtil::copyByKeyPathMap' method + minor refactoring.
Fixed a typo in a method name.