cordova config from global var, copy config.xml also