methods to copy an environement