Internal short circuits

Internal short circuits. Copy a tree