Fixing problem with copying fromServer

Fixes #549