Move LocalAdapter::copyFrom/moveFrom logic into AbstractAdapter.