Copy a script pubkey.
Declared in <kernel/bitcoinkernel.h>
<kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]] btck_ScriptPubkey* btck_script_pubkey_copy(btck_ScriptPubkey const* script_pubkey);
The copied script pubkey.
The return value should not be discarded.