Copying files from the matrix directory.