Bentley Systems interview question

Explain Shallow copy, deep copy through a code.