int count = in.read(buf,0,buf.length); if(count == -1) break loop;
		private boolean copy(PluginManagerProgress progress,			InputStream in, OutputStream out, boolean canStop,			boolean doProgress) throws Exception		{			in = new BufferedInputStream(in);			out = new BufferedOutputStream(out);			byte[] buf = new byte[4096];			int copied = 0;			int count;loop:			while((count = in.read(buf,0,buf.length)) != -1)			{				if(doProgress)				{					copied += count;					progress.setValue(copied);				}				out.write(buf,0,count);				if(canStop && Thread.interrupted())				{					in.close();					out.close();					return false;				}			}			in.close();			out.close();			return true;		}