add helper Portable::copyPortable to copy from one portable to another