implemented move constructor and move operator= for dynamic_array
disabled copying of dynamic_array