({{, (RefLink[CopyDatabin, paclet:ref/CopyDatabin])[bin] 
creates a copy of a databin.}, {, (RefLink[CopyDatabin, paclet:ref/CopyDatabin])[bin,options]
creates a copy with the specified options.}})

OpenersNotesSection(Spacer1)Details

(RefLink[CopyDatabin, paclet:ref/CopyDatabin]) returns a (RefLink[Databin, paclet:ref/Databin]) object with a new, universally unique ID.

In (RefLink[CopyDatabin, paclet:ref/CopyDatabin])[bin,…], bin can be a (RefLink[Databin, paclet:ref/Databin]) object or databin ID.

Any explicit options specified in (RefLink[CopyDatabin, paclet:ref/CopyDatabin]) supersede options present in the databin.

If it is not specified explicitly, the (RefLink[Permissions, paclet:ref/Permissions]) option for the new databin has setting "Public".

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Make a copy of a databin:

CopyDatabin[Databin[]]

OpenersExampleSection1(Spacer1)Scope  (1)

Here is a databin with no write access:

bin = Databin["3Gu4aW5D"]

bin[Permissions]

Making a copy creates a new databin with write access:

newbin=CopyDatabin[bin]

newbin[Permissions]

This adds data to the new databin:

Normal[DatabinAdd[newbin,11]]

OpenersExampleSection3(Spacer1)Properties & Relations  (1)

Data semantics are inherited from the original databin:

copy=CopyDatabin[Databin[]]

copy["Interpretation"]

By default, the copy is given public permissions:

copy[Permissions]

Permissions can be explicitly given:

CopyDatabin[Databin[],Permissions->"Private"][Permissions]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[CreateDatabin, paclet:ref/CreateDatabin])  ▪  (RefLink[Databin, paclet:ref/Databin])  ▪  (RefLink[DatabinUpload, paclet:ref/DatabinUpload])  ▪  (RefLink[CopyFile, paclet:ref/CopyFile])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Using the Wolfram Data Drop, paclet:guide/UsingTheWolframDataDrop])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(Spacer1)▪(WebLink[(Spacer1)Wolfram Data Drop: Quick Reference, http://www.wolfram.com/datadrop/quick-reference/])}})}})