# Why can I \`deepcopy(nothing)\` but not \`copy(nothing)\`?

**URL:** <https://discourse.julialang.org/t/why-can-i-deepcopy-nothing-but-not-copy-nothing/112429>\
**Category:** General Usage\
**Tags:** copy, deepcopy\
**Created:** [April 2, 2024, 4:28pm UTC](https://discourse.julialang.org/t/why-can-i-deepcopy-nothing-but-not-copy-nothing/112429 "2024-04-02T16:28:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [April 2, 2024, 7:20pm UTC](https://discourse.julialang.org/t/why-can-i-deepcopy-nothing-but-not-copy-nothing/112429/3 "2024-04-02T19:20:33Z")

</div>

See previous discussion of `copy` for immutable objects:

- [Coordinating community efforts to enrich function docs - #8 by johnmyleswhite](https://discourse.julialang.org/t/coordinating-community-efforts-to-enrich-function-docs/80338/8)
- [copy not implemented for String · Issue #31995 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/31995)
- [Define copy for immutable values · Issue #45143 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/45143)

---

_[View the full topic](https://discourse.julialang.org/t/why-can-i-deepcopy-nothing-but-not-copy-nothing/112429)._
