title: download with java code is really slow
body: <p>i wrote a bit of code that reads download links from a text file and downloads the videos using the copyURLToFile methode from apaches commons-io library and the download is really slow when im in my wlan.
  when i put in an internet stick is is about 6 times faster although the stick got 4mbit and my wlan is 8 mbit.
  i also tried to do it without the commons-io library but the problem is the same.
  normally im downloading 600-700 kb/s in my wlan but with java it only downloads with about 50 kb/s. With the internet stick its about 300 kb/s.
  Do you know what the Problem could be?</p>
  
  <p>thanks in advance</p>
  
  <p>//Edit: Here is the code but i dont think it has anything to do with this and what do you mean with network it policies?</p>
  
  <pre><code>FileInputStream fstream = new FileInputStream(linksFile);
      DataInputStream in = new DataInputStream(fstream);
      BufferedReader br = new BufferedReader(new InputStreamReader(in));
  
      String link;
      String name;
  
      while ((link = br.readLine()) != null) {
          name = br.readLine();
          FileUtils.copyURLToFile(new URL(link), new File("videos/"+name+".flv"));;
          System.out.println(link);
      }
  </code></pre>