Copying file from matrix directory.