I have two CSV files one with certain columns and rows, the second one has just one row with headers in it, The headers in the second file has more headers than first but includes all the headers from the first file. 
I want to fill the columns in the second file when it matches the header from the first file.
The first file is a raw data file which has 20 columns with 100,000 rows that need to be copied to the working file that has 30 columns(20 columns are same as raw). The working file also has no data in it except column headers.
I am able to copy the data with the code below but it but it changes the sequence of columns.I want the sequence of columns in working file intact.
I am pretty new to the language, I would really appreciate any help.

The code i am using right now is:

```
import os
import glob
import pandas as pd
def concatenate(indir = "", outfile = "",outdf=""):
    os.chdir(indir)
    fileList=glob.glob("*.csv")
    dfList=[]
    for fileName in fileList:
        print(fileName)
        df=pd.read_csv(fileName,low_memory=False)
        dfList.append(df)
    concatdf=pd.concat(dfList, axis=0)
    concatdf.to_csv(outfile, index=False)
concatenate(indir = "xyz.csv", outfile = "abc.csv")

```