Copy one environment into another recursively.

copy_env(to, from)

Arguments

to

environment. The new environment.

from

environment. The old environment.

Note

Both to and from must be pre-existing environments or this function will error.