Copy contents to md file