changed fs_copy to use id instead of name