If you switch InputSupplier to ByteSource, this is just

extensionSrc.copyTo(Files.asByteSink(targetFile));