appId
The app the environment belongs to.
environmentId
The environment to replace the scripts of.
sourceEnvironmentId
The environment to copy the scripts from, of any app of the team.