If the goal is to dynamically handle your input file, then that would be the way.
I would say you will need one For Each activity that loops over dt.Columns, maybe one more IF statement in the loop to ignore columns that shouldn’t be handled and then Add Column activity.
After setting the argument type of the For Each loop to a data table column you will be able extract the column name with something like item.name