Fix data file copy