add copy files function and change some form.php design