FEAT: minor copy-series function code improvement.
FIX: issue #555 (Using logic literal values with bitwise operators crashes the compiler)