To move the contacts follow the steps mentioned in the article here: Import Contacts from Yahoo to iCloud.