Copies all symbols from source to dest.
Creates a new scope node, moving the symbol table from scope into it and making scope a nested scope contained by the new node. Useful for injecting a scope into a scope chain.