BIO_dup_state
if (!BIO_dup_state(bio, new_bio))
if (!BIO_dup_state(s->rbio,(char *)&ret->rbio))
if (!BIO_dup_state(s->wbio,(char *)&ret->wbio))