Bug 123038 Change order of BIRT streams
Currenlty, birt streams have no order. For example, the version number is stored at the very end of the file! Need to exert some ordering.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/FileArchiveWriter.java
getAllFiles( file, fileList );
				}
			}
		}
	}
	
	/**
	 * Copy files from in to out
	 * @param in - input file
	 * @param out - output file
	 * @throws Exception
	 */
	private long copyFileIntoTheArchive( File in, RandomAccessFile out ) 
		throws IOException 
	{	
		long totalBytesWritten = 0;
	    FileInputStream fis  = new FileInputStream(in);
	    byte[] buf = new byte[1024 * 5];
	    
	    int i = 0;
	    while( (i=fis.read(buf))!=-1 ) 
	    {
	      out.write(buf, 0, i);
	      totalBytesWritten += i;
	    }
	    fis.close();
	    
	    return totalBytesWritten;
	}
}