add parameter validation for copy cmdlet and set the destination storage context as the piped storage context