detecting local copy