Is there any API we can use to import/export user profiles instead of manually doing that with "Manage User Profiles"?

This blog (http://signsandsymptomsoftranslation.com/2014/02/11/studio-on-a-new-computer/) has explained the process of how one can manage the User Profile from one computer to another.  But, is there an API we can use to Export/Import User Profile?