app/src/main/java/fi/finwe/orion360/sdk/pro/examples/MainMenu.java
private void copyFile(InputStream in, OutputStream out) throws IOException {
		byte [] buffer = new byte[1024];
		int read;
		while (( read = in.read(buffer) ) != -1 ) {
			out.write(buffer, 0, read);
		}
	}
/**
	 * Copy file contents from one stream to another.
	 *
	 * @param in The input stream where from to copy.
	 * @param out The output stream where to to copy.
	 * @throws IOException The exception that occurred during copying a file.
	 */
Copy file contents from one stream to another.
@param in The input stream where from to copy.
@param out The output stream where to to copy.
@throws IOException The exception that occurred during copying a file.
Copy file contents from one stream to another . @param in The input stream where from to copy . @param out The output stream where to to copy . @throws IOException The exception that occurred during copying a file .
private void copyFile(InputStream in, OutputStream out) throws IOException {
		byte [] buffer = new byte[1024];
		int read;
		while (( read = in.read(buffer) ) != -1 ) {
			out.write(buffer, 0, read);
		}
	}
private void copyFile ( InputStream in , OutputStream out ) throws IOException { byte [ ] buffer = new byte [ 1024 ] ; int read ; while ( ( read = in . read ( buffer ) ) != - 1 ) { out . write ( buffer , 0 , read ) ; } }
Copy file contents from one stream to another.
Copy file contents from one stream to another .