copy the html file to post directory