copy from right to left tree