this has most likely a memory leak while copying. need to investigate....