change nodehandle.copy logic