Distributed copy

@Xorlev take a look when you get some time.