if (res.isTeamPrivateMember ())
if (res.isTeamPrivateMember() || res.getName().equals(".svn"))
  public static void copyDerived(IResource res, IPath dest, IProgressMonitor m)    throws CoreException   {    if (res.isTeamPrivateMember ())      return;      if (res instanceof IFolder) {      IResource[] members = ((IFolder)res).members ();      IResource rdest = checkDerivedDestination (dest, m);            for (int i = 0; i < members.length; i++) {        IResource thisOne = members[i];        if (!members[i].isTeamPrivateMember ()) {          IPath thisDest = dest.append(thisOne.getName());          copyDerived (thisOne, thisDest, m);        }      }      if (null != rdest) {        rdest.setDerived (true);      }    } else {      // it's a file, let's just copy it      IResource rdest = checkDestination (dest, m);      res.copy (dest, true, m);      if (null != rdest) {        rdest.setDerived (true);      }    }  }