BUGFIX Fix segfault in copy array
BUGFIX Fix segfault in copy array

HolyGeneralK/arrayfire,ghisvail/arrayfire,jramapuram/arrayfire,asifmadnan/arrayfire,umar456/arrayfire,linan7788626/arrayfire,marbre/arrayfire,Keno/arrayfire,bkloppenborg/arrayfire,victorv/arrayfire,0x0all/arrayfire,pentschev/arrayfire,mrgloom/arrayfire,HolyGeneralK/arrayfire,arrayfire/arrayfire,pombredanne/arrayfire,9prady9/arrayfire,asifmadnan/arrayfire,bkloppenborg/arrayfire,9prady9/arrayfire,shehzan10/arrayfire,shehzan10/arrayfire,unbornchikken/arrayfire,9prady9/arrayfire,linan7788626/arrayfire,pombredanne/arrayfire,arrayfire/arrayfire,pombredanne/arrayfire,marbre/arrayfire,unbornchikken/arrayfire,linan7788626/arrayfire,Keno/arrayfire,hshindo/arrayfire,umar456/arrayfire,glehmann/arrayfire,9prady9/arrayfire,HolyGeneralK/arrayfire,asifmadnan/arrayfire,0x0all/arrayfire,merlin-ext/arrayfire,mrgloom/arrayfire,pavanky/arrayfire,victorv/arrayfire,arrayfire/arrayfire,pentschev/arrayfire,pentschev/arrayfire,pavanky/arrayfire,hshindo/arrayfire,munnybearz/arrayfire,munnybearz/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,hshindo/arrayfire,jramapuram/arrayfire,HolyGeneralK/arrayfire,shehzan10/arrayfire,umar456/arrayfire,merlin-ext/arrayfire,glehmann/arrayfire,bkloppenborg/arrayfire,pavanky/arrayfire,ghisvail/arrayfire,jramapuram/arrayfire,Keno/arrayfire,unbornchikken/arrayfire,pombredanne/arrayfire,victorv/arrayfire,bkloppenborg/arrayfire,ghisvail/arrayfire,hshindo/arrayfire,pavanky/arrayfire,marbre/arrayfire,ghisvail/arrayfire,unbornchikken/arrayfire,Keno/arrayfire,pentschev/arrayfire,munnybearz/arrayfire,linan7788626/arrayfire,mrgloom/arrayfire,umar456/arrayfire,shehzan10/arrayfire,asifmadnan/arrayfire,arrayfire/arrayfire,mrgloom/arrayfire,jramapuram/arrayfire,marbre/arrayfire,merlin-ext/arrayfire