System verilog: Shallow copy, Deep copy

What are the applications of shallow and deep copy. When and where are they used?

In reply to UVM_SV_101:
https://verificationacademy.com/forums/systemverilog/deep-copy-and-shallow-copy#reply-54707