Make ve.copyArray() / copyObject() work with booleans

This should really be fixed to not enumerate all types but be nicer.
Timo said he'd do that.

Change-Id: I15807696a7324d3fb207ed41b442a83dc83a75ec
Merge "Make ve.copyArray() / copyObject() work with booleans"