add function CopyAll and map it