implemented file copying and model object copying