I saw this sentence in a book:
So I move this into the intermediate data structure, removing it from the parameter list.
I want to know whether it is equivalent to this sentence:
So I move this into the intermediate data structure, remove it from the parameter list.
If they are different by meaning, what do they mean respectively?