public static FileBytes createFileBytes(Program program, ByteProvider provider,
			TaskMonitor monitor) throws IOException, CancelledException {
		return createFileBytes(program, provider, 0, provider.length(), monitor);
	}
Creates a new {@link FileBytes} object using all the bytes from a {@link ByteProvider}
@param program the program in which to create a new FileBytes object
@param provider the ByteProvider from which to get the bytes.
@return the newly created FileBytes object.
@param monitor the monitor for canceling this potentially long running operation.
@throws IOException if an IOException occurred.
@throws CancelledException if the user cancelled the operation
Ghidra/Features/Base/src/main/java/ghidra/app/util/MemoryBlockUtils.java