Added: excludePropertyes parameter for CopyObject() function