Copy document from document list

Hello, 

How to update object or set type document from object type document list in Studio?

For example, I have document list with documents. And I want the next: document = documentList.get(0);

Operations or script doesn't matter.

Сould you show an example?