copy command-line arguments

copy the command-line arguments for use by gcc
also clean up how vecs are handled