Added merge method to ArrayHelper.