# Difference between Copy and Duplicate ?

Leapwork provides the functionality to copy or duplicate the flows/sub-flows. Here are descriptions of both the copy and duplicate features:

**Copy**  
The copy option is used to make a copy of a flow/sub-flow. This feature will copy only the flow/sub-flow, leaving references to the original locators (images, web/desktop elements, sub-flows, files). Copy uses a mechanism called a shallow copy that simply creates a reference to the flow. If any amendment is made to the flow, it reflects into all its references. The flow can be pasted into the same project and across projects.

**Duplicate**  
This feature duplicates the flow/sub-flow, all locators (images, web/desktop elements, sub-flows, files, etc.). The duplicate feature uses a mechanism called “deep copy”. The new flow/sub-flow has no reference back to its origin and is not impacted by any updates made to the original flow. The flow can be pasted into the same project and across projects.

Here is an example of how to copy and duplicate flows in Leapwork.

- Right Click on the flow or sub-flow to copy:

- Now, paste the flow or sub-flow to the required folder

- Choose the option to **Copy** or **Duplicate** as per your requirements.

For any clarification, please contact our [Priority Support](mailto:prioritysupport@leapwork.com "mailto:prioritysupport@leapwork.com").
