Sitecore 5.0 API

DataManager.Copy Method 

Copies the current instance.

[Visual Basic]
Public Function Copy( _
   ByVal item As Item, _
   ByVal destination As Item, _
   ByVal copyName As String, _
   ByVal copyID As ID, _
   ByVal deep As Boolean _
) As Item
[C#]
public Item Copy(
   Item item,
   Item destination,
   string copyName,
   ID copyID,
   bool deep
);

Parameters

item
Item.
destination
Destination.
copyName
Name of the copy.
copyID
Copy ID.
deep
Deep.

See Also

DataManager Class | Sitecore.Data Namespace