---
title: "Discussion on \"Shallow Copy  Vs  Deep Copy\" | Hashnode"
description: "Discussion on \"Shallow Copy  Vs  Deep Copy\". Shallow Copy\nWhen you create a new object by copying an entity from another object, you're typically copying a reference or a memory address where the data is stored, rather than copying the actual data or value.\nIt is safe to create a shallow copy o..."
url: "https://hashnode.com/posts/shallow-copy-vs-deep-copy/652e942fcc7a79b7b5544ee8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Shallow Copy Vs Deep Copy](https://vishalkumarsingh.hashnode.dev/shallow-copy-vs-deep-copy?utm_source=hashnode&utm_medium=feed)

Shallow Copy When you create a new object by copying an entity from another object, you're typically copying a reference or a memory address where the data is stored, rather than copying the actual data or value. It is safe to create a shallow copy o...

Oct 17, 2023 · 3 min read · vishalkumarsingh.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#deep-copy-vs-shallow-copy](https://hashnode.com/tag/deep-copy-vs-shallow-copy)

## Written by

[Vishal Kumar Singh](https://hashnode.com/@VishalKumarSingh)

@VishalKumarSingh · UK, INDIA

  
[View profile](https://hashnode.com/@VishalKumarSingh)

Software Developer | MERN Stack Enthusiast | Seeking Opportunities

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
