How to convert array to another array in Swift

join shbcf.ru