little patch to make copy of fdt