# Copy objects correctly

**URL:** <https://discourse.processing.org/t/copy-objects-correctly/29110>\
**Category:** Coding Questions\
**Created:** [April 4, 2021, 8:11am UTC](https://discourse.processing.org/t/copy-objects-correctly/29110 "2021-04-04T08:11:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)\
**Post date:** [April 4, 2021, 8:56am UTC](https://discourse.processing.org/t/copy-objects-correctly/29110/2 "2021-04-04T08:56:44Z")

</div>

I hope this helps:

> [@How to clone Object without modifying original?](https://discourse.processing.org/t/how-to-clone-object-without-modifying-original/28496):
>
> I have an array of a class, that I want to clone. But if I modify the clone, the original gets modified to. Now is the question, how can i clone an array of classes without it modifying the original?

---

_[View the full topic](https://discourse.processing.org/t/copy-objects-correctly/29110)._
