[PATCH 3/6] dtoc: Add some debugging when copying nodes