Revert "This should work with java-client copy"

This reverts commit bb8a59d265282ee8d64b081d9f454bef3afb6a39.
second

This should work with java-client-copy