clones a full profile from a running JBoss AS 7 or EAP 6 server into a CLI batch file