copy library from old environment to new environment python code example Example: clone an environment conda conda create --name myclone --clone myenv