add cp of file, and lock
add remove file after copy