Copy an environment

Creates a new environment as a copy of an existing environment's data.