Bentley Systems Interview Question

Explain Shallow copy, deep copy through a code.