[PATCH v2 4/6] xcopy: Introduce get_arg helper that duplicates first argument to new string.