Refactored argument copying