Fixed the copy process of webapp.