streamCopy() should return proper structure.

Callers of streamCopy() expect an array to be returned containing count and result.
Merge pull request #5340 from owncloud/fixing-5251-master

streamCopy() should return proper structure.