implemented test for copy=False in test_raw.py, simplified copy case in raw.py