fix copy_to_task
Add ability to acquire and release banks of RAM for a task