There is no XFA equivalent command for this but you can access the AcroForm command. It will bring up the save dialog and the user has to pick the filename (a default one will be provided) and location to store the file . For security reasons you cannot fully automate the save. I have not tried this myself but the command woudl be:
event.target.exportAsText()
Paul