# Duplicate nodes Nodes can be duplicated one at a time within a Code Workbook. To duplicate a node, first open the node menu by either selecting the **...** button in the top right of the node or right-clicking anywhere on the node. Then, hover on **Edit...** to reveal a submenu and select Duplicate. ![Duplicate node in Code Workbook](../../../assets/0334891b1ed94d43540e333a7771d8280354de23a92d6df7826f10a337501526.webp) ## Copy/paste nodes Nodes can also be duplicated by using copy/paste. The following method allows you to create a copy of a node or set of nodes within the same Code Workbook or in different Code Workbooks. Doing so allows you to transfer the contents of one Code Workbook to another. 1. Switch to select mode in the top right corner of your screen. ![Select mode in Code Workbooks](../../../assets/3dbb6db2a0fdabf8e9c3a2e71b6f02796bb70bde9784d55ee6e128e3590ae3e2.webp) 2. Select the nodes to copy by clicking and dragging to draw a box around the desired nodes. You can also hold down `Cmd` on a Mac or `Ctrl` on a Windows machine and click on each node in turn. 3. Right-click on the selected nodes and choose **Copy X node to clipboard**. Alternatively, you can copy the nodes using the [keyboard shortcut](../keyboard-shortcuts/index.md) `Cmd+C` (macOS) or `Ctrl+C` (Windows). ![Copy node to clipboard](../../../assets/c33a113e1005626afbf341b2c127b3e02ed2ec86e81d13cf1e6895321517b3a5.webp) 4. While in select mode, paste the nodes into the desired destination using the [keyboard shortcut](../keyboard-shortcuts/index.md) `Cmd+V` (macOS) or `Ctrl+V` (Windows).