added copy tree