added buffer_copy and copied the contents of buffer to the new pointer array buffer_copy
Got working the real and complex number parts from the 8 bit signed integer