duplicate_tree
static bin_tree_t *duplicate_tree (const bin_tree_t *src, re_dfa_t *dfa);
elem = duplicate_tree (elem, dfa);