updated read me and copy2 instead of copyfile