[#EC_GROUP_copy]
= EC&lowbar;GROUP&lowbar;copy
:mrdocs:

Copies EC&lowbar;GROUP objects&period; Note&colon; both EC&lowbar;GROUPs must use the same EC&lowbar;METHOD&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EC&lowbar;GROUP&lowbar;copy(
    xref:EC_GROUP.adoc[EC&lowbar;GROUP]* dst,
    xref:EC_GROUP.adoc[EC&lowbar;GROUP] const* src);
----

== Return Value

1 on success and 0 if an error occurred&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dst*
| destination EC&lowbar;GROUP object
| *src*
| source EC&lowbar;GROUP object
|===


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