Existing implementation of AtlasClient.exportData and AtlasClient.importData converts the stream returned by the REST APIs to byte array and then passes it on to the caller.
In case of importData with absolute file path, it converts it to byte array and then writes the bytes to the file.
This is inefficient from memory perspective and may cause problems on client-side if the data is large.
- The APIs should return streams.
- The API that writes file, should implement a version that works with streams.