copy required files