Copy-by-reference example