Note that bcf_unpack() must be called on the returned copy as if it was
obtained from bcf_read(). Also note that bcf_dup() calls bcf_sync1(src)
internally to reflect any changes made by bcf_update_* functions.
The bcf1_t struct returned by a successful call should be freed
via bcf_destroy() when it is no longer needed.
bcf_dup() - create a copy of BCF record.
Note that bcf_unpack() must be called on the returned copy as if it was obtained from bcf_read(). Also note that bcf_dup() calls bcf_sync1(src) internally to reflect any changes made by bcf_update_* functions.
The bcf1_t struct returned by a successful call should be freed via bcf_destroy() when it is no longer needed.