---
name: "bson_oid_copy"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_oid_copy"
---

# bson\_oid\_copy(3)

## SYNOPSIS

```
void
bson_oid_copy (const bson_oid_t *src, bson_oid_t *dst);
```

## PARAMETERS

- •

  **src**: A *bson\_oid\_t*.

- •

  **dst**: A *bson\_oid\_t*.

## DESCRIPTION

Copies the contents of src into dst.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
