When you migrate an application domain you must first pack the source application domain (see Packing sites and application domains) and then use the package file to migrate the source application domain to the target application domain. During the migration, the configurations of the StreamServer applications in the source environment are deployed to the StreamServer applications in the target environment.
When the package file was created, there was an option to export additional files from the working directories of the applications to the package. All export items with Copy Type set to Migrate are copied to the working directories of the applications in the target environment when migrating an application domain. See
Exporting additional files to a package.