[#BN_copy]
= BN&lowbar;copy
:mrdocs:

Copy BIGNUM `b` into `a,` resizing `a` as needed&period;

== Synopsis

Declared in `&lt;openssl&sol;bn&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIGNUM.adoc[BIGNUM]*
BN&lowbar;copy(
    xref:BIGNUM.adoc[BIGNUM]* a,
    xref:BIGNUM.adoc[BIGNUM] const* b);
----

== Return Value

`a` on success, or NULL on allocation failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| Destination (must be non&hyphen;NULL)&period;
| *b*
| Source value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
