util: create a copy of program_name